import Layout from '@/layout'
// 员工模块
export default {
  path: '/employees',
  component: Layout,
  children: [
    {
      path: '', // path 路由为'' 表示和父路由path一致  也可以写完整 '/departments'
      name: 'employees',
      component: () => import('@/views/employees'),
      // title表示的是显示的左侧的文本  icon 小图标
      meta: { title: '员工', icon: 'people' }
    },
    {
      path: '/employees/detail/:id',
      name: 'detail',
      hidden: true,
      component: () => import('@/views/employees/Detail')
      // title表示的是显示的左侧的文本  icon 小图标
      // meta: { title: '详情', icon: 'people' }
    },
    {
      path: '/employees/print/:id',
      name: 'detail',
      hidden: true,
      component: () => import('@/views/employees/components/Print')
      // title表示的是显示的左侧的文本  icon 小图标
      // meta: { title: '详情', icon: 'people' }
    }
  ]
}
